home *** CD-ROM | disk | FTP | other *** search
- //javascript
-
- var gtkml="";
- gtkml +=
- '<gtkml>' +
- '<window type="toplevel" title="' + Document.title + ': ' + Object.name + '" defaultsize="300 400">' +
- '<vbox homogeneous="false">' +
- '<label labelpadding="4">Factory Properties:</label>' +
- '<scrolledwindow expand="true" fill="true">' +
- '<list>';
-
- for(property in Object.factory)
- gtkml += '<listitem>' + property + '</listitem>';
-
- gtkml +=
- '</list>' +
- '</scrolledwindow>' +
- '<label labelpadding="4">Object Properties:</label>' +
- '<scrolledwindow expand="true" fill="true">' +
- '<list>';
-
- for(property in Object)
- gtkml += '<listitem>' + property + '</listitem>';
-
- gtkml +=
- '</list>' +
- '</scrolledwindow>' +
- '<hbuttonbox layout="end">' +
- '<button>OK' +
- '<event signal="clicked" name="ok"/>' +
- '</button>' +
- '</hbuttonbox>' +
- '</vbox>' +
- '</window>' +
- '</gtkml>';
-
- dialog = new GTKMLContainer(gtkml);
- dialog.DoModal();
-
- /*
- var properties = "";
-
- properties += "Plugin factory properties:\n";
- properties += "-----------------------------------------------------\n";
- for(property in Object.factory)
- // properties += property + ": " + Object.factory[property] + "\n";
- properties += property + "\n";
-
- properties += "\n\n\n";
-
- properties += "Object properties:\n";
- properties += "-----------------------------------------------------\n";
- for(property in Object)
- // properties += property + ": " + Object[property] + "\n";
- properties += property + "\n";
-
- Application.ui.Message(properties, Document.title + ": " + Object.name);
- */
-
-